package com.dc.system.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "操作日志模块Model")
public class SysOperationlog  implements Serializable {

   @ApiModelProperty(value = "操作内容")
   private String content;

   @ApiModelProperty(value = "操作时间")
   private Date date;

   @ApiModelProperty(value = "操作模块")
   private String module;

   @ApiModelProperty(value = "操作日志id")
   private int operationlogId;

   @ApiModelProperty(value = "请求后数据")
   private String paramAfter;

   @ApiModelProperty(value = "请求前数据")
   private String paramBefore;

   @ApiModelProperty(value = "请求ip")
   private String requestIp;

   @ApiModelProperty(value = "请求方法")
   private String requestMethod;

   @ApiModelProperty(value = "请求参数，最好记录文件中")
   private String requestParams;

   @ApiModelProperty(value = "操作类型")
   private String type;

   @ApiModelProperty(value = "操作人账号")
   private String userAccount;

   @ApiModelProperty(value = "操作人id")
   private int userId;

   @ApiModelProperty(value = "操作人姓名")
   private String userName;

}
